using System;
using System.Collections.Generic;

namespace Elephant.Framework.XML
{
    // todo: parameters for entity
    internal class EntityTemplate
    {
        string name; // name of entity
        List<ComponentTemplate> componentTemplates = new List<ComponentTemplate>();

        public EntityTemplate() { }

        public EntityTemplate(string name, List<ComponentTemplate> componentTemplates)
        {
            this.name = name;
            this.componentTemplates = componentTemplates;
        }

        public string Name
        {
            get
            {
                return name;
            }
            set
            {
                name = value;
            }
        }

        public List<ComponentTemplate> ComponentTemplates
        {
            get
            {
                return componentTemplates;
            }
            set
            {
                componentTemplates = value;
            }
        }
    }
}
